package com.onlyphoto.onlymall.utils

import com.onlyphoto.onlymall.R


object Constants {

    const val SHARE_TAG_LOGIN_PHONE = "phone"                   //用户手机号
    const val SHARE_TAG_LOGIN_TOKEN = "token"                   //用户唯一token
    const val SHARE_USER_INFO = "userInfo"                      //用户信息
    const val PAGE_HOME = "pageHomeIndex"                       //首页
    const val PAGE_ACCOUNT = "pageAccountIndex"                 //个人中心

    const val PAGE_HOME_INDEX = R.id.rb_home
    const val PAGE_CATEGORY_INDEX = R.id.rb_category
    const val PAGE_SHOP_INDEX = R.id.rb_shop
    const val PAGE_ACCOUNT_INDEX = R.id.rb_account

    var authRuntimePermissions :Boolean=false

    const val IS_SHOW_NOTICE_AD = "isShowAd"

    const val FIRST_IN = "FirstLogin"                           //key
    const val IS_FIRST_IN = 1                                   //首次
    const val NOT_FIRST_IN = 0                                  //非首次

    const val IS_PHONE_LOGIN = "isPhoneLogin"                   //是否为手机号登录

    const val IS_SET_PWD = "isSetPwd"                           //是否设置密码

    const val NOTICE_IMG_URL = "adImgUrl"                       //欢迎页图片地址
    const val NOTICE_ACTION_URL = "actionUrl"                   //欢迎页跳转地址
    const val FIRST_OPEN_APP_TIME = "FirstOpenAppTime"


    const val LOGIN_CODE_FINISH_TIME = "loginCodeFinishTime"    //登录验证码倒计时结束时间
    const val CODE_OVER_TIME = 60                               //验证码超时时间，单位 s

    const val MIN_USERNAME = "gh_018c3d45bfb5"                  //小程序分享原始id
    const val MIN_PATH = "pages/product/product?goods="         //小程序页面路径

}
